package cn.zwx.strategy.pattern.example.basic;

import org.springframework.stereotype.Component;

/**
 * @projectName:strategy-pattern-example
 * @see:cn.zwx.strategy.pattern.example.basic
 * @author:zhangwenxue
 * @createTime:2022/2/11 10:25
 * @version:1.0
 */
@Component
public class GrantTypeStrategyForRedPacket implements GrantTypeStrategy {
    @Override
    public String getGrantType() {
        return "红包";
    }

    @Override
    public String query() {
        return "每周末9点发放";
    }
}
